how to solve laplace transform of periodic function